package com.woniuxy.main.mapper;

import com.woniuxy.main.pojo.Vips;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface VipsMapper {

    //查询所有vip用户
    //@Select("select * from vips inner join ")
    List<Vips> findAll();
    //根据条件筛选vip,按vip等级，性别
    List<Vips> findByCondition(Vips vip);
    //模糊查询,姓名，电话号码，身份证号
    List<Vips> findByLike(Vips vip);
}
